
/*
 * Copyright (C) 2010 Bitglue. All rights reserved.
 *
 * $Id: NamedEntity.java bself $
 */

package com.bitglue.hibernate.model;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * NamedEntity persistence model.
 * @author Bryan Patrick Self
 */
@MappedSuperclass
public class NamedEntity extends BaseEntity {

    private String name;

    @Column(length = 128, nullable = false, unique = false)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
